package com.village.friend.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.village.friend.constant.PayStatus;
import com.village.friend.entity.UserOrder;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 交易订单 服务类
 * </p>
 *
 * @author yl
 * @since 2021-08-23
 */
public interface UserOrderService extends IService<UserOrder> {

    IPage<UserOrder> pageByParam(Integer page, Integer limit, Integer parent);

    List<UserOrder> listByStatus(PayStatus inProcess);
}
